<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/7/6
  Time: 9:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page isELIgnored="false" %>
<html>
<head>
    <title>Title</title>
</head>
<style type="text/css">
    .head{
        width: 100%;
        height: 100px;
    }
    .side_nav{
        width: 50%;
        height: 700px;
        margin: 0 auto;
    }
    .personal{
        width: 115px;
        height: 600px;
        float: left;
    }
    .personal td{
        background-color:#FFC125;
        text-align: center;
    }
    a {
        text-decoration: none;
    }
    .operate{
        width: 700px;
        height: 50px;
        float: right;
        margin-right: 7%;
        margin-top:3%;
    }
    .paging{
        width: 400px;
        height: 20px;
        float: right;
        margin-top: 30%;
    }
</style>
<body>
<%@include file="pageTitle.jsp"%>
<div class="head">
</div>
<!-- 我的欣欣 -->
<div class="side_nav">
    <table class="personal">
        <tr>
            <td><a href="ownMes.jsp">我的账户</a></td>
        </tr>
        <tr>
            <td><a href="#">门票信息</a></td>
        </tr>
        <tr>
            <td><a href="HotelPriceServlet?id=${user.userId}">酒店信息</a></td>
        </tr>
        <tr>
            <td><a href="ownComment.jsp">我的点评</a></td>
        </tr>
        <tr>
            <td><a href="ownAccept.jsp">我的消息</a></td>
        </tr>
    </table>
    <!-- 票务操作 -->
    <table class="operate" border="1px">
        <tr align="center" >
            <th colspan="5">用户${user.userName}的购票详情</th>
        </tr>
        <tr align="center">
            <th>景点名称</th>
            <th>单价</th>
            <th>票数</th>
            <th>小计</th>
            <th>操作</th>
        </tr>
        <c:forEach items="${ticketList}" var="t">
            <tr align="center">
                <td>${t.scenery.sceName}</td>
                <td>${t.scenery.ticket}</td>
                <td>${t.ticketcount}</td>
                <td>${t.sum}</td>
                <td><a href="">删除</a></td>
            </tr>
        </c:forEach>
        <tr align="center" >
            <th colspan="5">总计:${sum}</th>
        </tr>
    </table>
    <div class="paging">
        <ul>
            <li><a href="">首页</a>|<a href="#">上一页</a>|<a href="#">下一页</a>|<a href="#">尾页</a>&nbsp;<textarea cols="10" rows="4" style="width: 40px;height: 15px;max-width: 40px;max-height: 15px;min-width: 40px;min-height: 15px;"></textarea><a href="#">跳转页面</a></li>
        </ul>
    </div>
</div>
</body>
</html>
